<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
a{ color:#6d155a; font-family:Arial, Helvetica, sans-serif; font-size:12px; text-decoration:none;}
a:hover{ color:#e52307; text-decoration:underline;}
.jackpot {
	text-align:center;
	background:url(<?php echo $img_url;?>jackpot.png) no-repeat;
	width:250px;
	height:65px;
	line-height:65px;
	padding:25px 5px 10px 0;
	float:right;
	margin-right:10px;
}
.jackpot img {
	display:inline-block;
	overflow:hidden;
	margin:0
}
</style>
</head>

<body style="font-family:Arial, Helvetica, sans-serif; font-size:12px; line-height:1.5; margin:0;">
<div style=" background-color:#6dcff6; border-bottom:2px solid #24b8f2;">
<table width="800" border="0" cellspacing="0" cellpadding="0" bgcolor="#fff" align="center" style="background:url(<?php echo $img_url;?>header-bg.jpg) no-repeat left top">
	<tr>
		<td rowspan="2"><img src="<?php echo $img_url;?>logo.png" alt="logo" border="0" style="margin:10px 0 0 10px;" width="173" height="118"/></td>
		<td style="font-size:22px; color:#000; font-weight:bold;height:81px;"  valign="bottom">
		<div class="jackpot">
			<img src="<?php echo $img_url; ?>fa.png" alt="" />
			<?php 
				if(isset($site['jackpot']))
				{
					$jackpot = strval($site['jackpot']);
					$len = strlen($jackpot);
					for($i = 0; $i < $len; $i++)
					{
						if($jackpot[$i] != '.')
						{
							echo '<img src="' . $img_url .  $jackpot[$i] . '.png" alt=""/>';
						}
						else
						{
							echo '<img src="' . $img_url . 'point.png" alt="" />';
						}
					}
				}
				else
				{
					echo '<img src="'.$img_url.'0.png" alt=""/>';
					echo '<img src="' . $img_url . 'point.png" alt="" />';
					echo '<img src="'.$img_url.'0.png" alt=""/>';
					echo '<img src="'.$img_url.'0.png" alt=""/>';
				}
			
			?>
		</div></td>
	</tr>
</table>
<?php 
if (isset($pixels))
{
	foreach ($pixels as $pixel)
	{
		echo $pixel['pixel']."<br/>";
	}
}
?>
</div>
</body>
</html>